<div class="namhocs view">
<h2><?php  __('Namhoc');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $namhoc['Namhoc']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Namhoc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $namhoc['Namhoc']['namhoc']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $namhoc['Namhoc']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Namhoc', true), array('action' => 'edit', $namhoc['Namhoc']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Namhoc', true), array('action' => 'delete', $namhoc['Namhoc']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $namhoc['Namhoc']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Namhocs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Namhoc', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dvutcbs', true), array('controller' => 'dvutcbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dvutcb', true), array('controller' => 'dvutcbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hockies', true), array('controller' => 'hockies', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hocky', true), array('controller' => 'hockies', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaicdcbs', true), array('controller' => 'loaicdcbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaicdcb', true), array('controller' => 'loaicdcbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phanloaicbs', true), array('controller' => 'phanloaicbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phanloaicb', true), array('controller' => 'phanloaicbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tgdongdoanphicbs', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tgdongdoanphicb', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tgdongdoanphisvs', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tgdongdoanphisv', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thangs', true), array('controller' => 'thangs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thang', true), array('controller' => 'thangs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Dvutcbs');?></h3>
	<?php if (!empty($namhoc['Dvutcb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Songuoidongy'); ?></th>
		<th><?php __('Songuoithamgiabau'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Dvutcb'] as $dvutcb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dvutcb['id'];?></td>
			<td><?php echo $dvutcb['canbo_id'];?></td>
			<td><?php echo $dvutcb['namhoc_id'];?></td>
			<td><?php echo $dvutcb['songuoidongy'];?></td>
			<td><?php echo $dvutcb['songuoithamgiabau'];?></td>
			<td><?php echo $dvutcb['duyet'];?></td>
			<td><?php echo $dvutcb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'dvutcbs', 'action' => 'view', $dvutcb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'dvutcbs', 'action' => 'edit', $dvutcb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'dvutcbs', 'action' => 'delete', $dvutcb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dvutcb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Dvutcb', true), array('controller' => 'dvutcbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Hockies');?></h3>
	<?php if (!empty($namhoc['Hocky'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Tenhocky'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Hocky'] as $hocky):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $hocky['id'];?></td>
			<td><?php echo $hocky['namhoc_id'];?></td>
			<td><?php echo $hocky['tenhocky'];?></td>
			<td><?php echo $hocky['ngaybatdau'];?></td>
			<td><?php echo $hocky['ngayketthuc'];?></td>
			<td><?php echo $hocky['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'hockies', 'action' => 'view', $hocky['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'hockies', 'action' => 'edit', $hocky['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'hockies', 'action' => 'delete', $hocky['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $hocky['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Hocky', true), array('controller' => 'hockies', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Loaicdcbs');?></h3>
	<?php if (!empty($namhoc['Loaicdcb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Xeploai Id'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Loaicdcb'] as $loaicdcb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $loaicdcb['id'];?></td>
			<td><?php echo $loaicdcb['chidoansv_id'];?></td>
			<td><?php echo $loaicdcb['xeploai_id'];?></td>
			<td><?php echo $loaicdcb['namhoc_id'];?></td>
			<td><?php echo $loaicdcb['duyet'];?></td>
			<td><?php echo $loaicdcb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'loaicdcbs', 'action' => 'view', $loaicdcb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'loaicdcbs', 'action' => 'edit', $loaicdcb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'loaicdcbs', 'action' => 'delete', $loaicdcb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $loaicdcb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Loaicdcb', true), array('controller' => 'loaicdcbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phanloaicbs');?></h3>
	<?php if (!empty($namhoc['Phanloaicb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Xeploai Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Danhhieu'); ?></th>
		<th><?php __('Tenphongtrao'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Phanloaicb'] as $phanloaicb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phanloaicb['id'];?></td>
			<td><?php echo $phanloaicb['xeploai_id'];?></td>
			<td><?php echo $phanloaicb['canbo_id'];?></td>
			<td><?php echo $phanloaicb['namhoc_id'];?></td>
			<td><?php echo $phanloaicb['danhhieu'];?></td>
			<td><?php echo $phanloaicb['tenphongtrao'];?></td>
			<td><?php echo $phanloaicb['ghichu'];?></td>
			<td><?php echo $phanloaicb['duyet'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phanloaicbs', 'action' => 'view', $phanloaicb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phanloaicbs', 'action' => 'edit', $phanloaicb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phanloaicbs', 'action' => 'delete', $phanloaicb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phanloaicb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phanloaicb', true), array('controller' => 'phanloaicbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Tgdongdoanphicbs');?></h3>
	<?php if (!empty($namhoc['Tgdongdoanphicb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Ngaydong'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th><?php __('Thang Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Tgdongdoanphicb'] as $tgdongdoanphicb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tgdongdoanphicb['id'];?></td>
			<td><?php echo $tgdongdoanphicb['namhoc_id'];?></td>
			<td><?php echo $tgdongdoanphicb['canbo_id'];?></td>
			<td><?php echo $tgdongdoanphicb['ngaydong'];?></td>
			<td><?php echo $tgdongdoanphicb['ghichu'];?></td>
			<td><?php echo $tgdongdoanphicb['thang_id'];?></td>
			<td><?php echo $tgdongdoanphicb['chidoansv_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'view', $tgdongdoanphicb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'edit', $tgdongdoanphicb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'delete', $tgdongdoanphicb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tgdongdoanphicb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Tgdongdoanphicb', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Tgdongdoanphisvs');?></h3>
	<?php if (!empty($namhoc['Tgdongdoanphisv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Thang Id'); ?></th>
		<th><?php __('Ngaydong'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Tgdongdoanphisv'] as $tgdongdoanphisv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tgdongdoanphisv['id'];?></td>
			<td><?php echo $tgdongdoanphisv['sinhvien_id'];?></td>
			<td><?php echo $tgdongdoanphisv['thang_id'];?></td>
			<td><?php echo $tgdongdoanphisv['ngaydong'];?></td>
			<td><?php echo $tgdongdoanphisv['ghichu'];?></td>
			<td><?php echo $tgdongdoanphisv['namhoc_id'];?></td>
			<td><?php echo $tgdongdoanphisv['chidoansv_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'view', $tgdongdoanphisv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'edit', $tgdongdoanphisv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'delete', $tgdongdoanphisv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tgdongdoanphisv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Tgdongdoanphisv', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Thangs');?></h3>
	<?php if (!empty($namhoc['Thang'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Thang'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhoc['Thang'] as $thang):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thang['id'];?></td>
			<td><?php echo $thang['namhoc_id'];?></td>
			<td><?php echo $thang['thang'];?></td>
			<td><?php echo $thang['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thangs', 'action' => 'view', $thang['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thangs', 'action' => 'edit', $thang['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thangs', 'action' => 'delete', $thang['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thang['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thang', true), array('controller' => 'thangs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
